package com.tcm.logistics.dao.mapper;

import com.tcm.logistics.entity.LogisticsPickupPoint;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LogisticsPickupPointMapper {
    int deleteByKey(@Param("id") Long id, @Param("shopId") Long shopId);

    int deleteLogicByKey(@Param("id") Long id, @Param("shopId") Long shopId);

    int insert(LogisticsPickupPoint record);

    LogisticsPickupPoint findByKey(@Param("id") Long id, @Param("shopId") Long shopId);

    List<LogisticsPickupPoint> listPickupPoint(Long shopId);

    int updateByKey(LogisticsPickupPoint record);
}